﻿using FluentValidation;

namespace Services.Activity.WebApi.Request;

public class GetActivityVolunteerRequest
{
    public long ActivityId { get; set; }
}
public class GetActivityVolunteerRequestValidator : AbstractValidator<GetActivityVolunteerRequest>
{
    public GetActivityVolunteerRequestValidator()
    {
        RuleFor(x => x.ActivityId).NotEmpty().NotNull().WithMessage("活动的索引不能为空");
    }
}
